package com.xy.helloworld02;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * projectName:BK-2109
 * author:xiaoyang
 * time:2022/3/9 17:23
 * description:
 */
@ConfigurationProperties(prefix = "student")
@Data
@Component
public class User {

    private String name;

    private Integer age;
}
